using System;
using System.Net.DnsToolkit.Packet.Records;


namespace System.Net.DnsToolkit.Packet.Busy.Records
{
    /*
2.2 AAAA data format

   A 128 bit IPv6 address is encoded in the data portion of an AAAA
   resource record in network byte order (high-order byte first).
 */
    public class RecordAAAA : IRecord, IRecordAAAA
	{
        public System.Net.IPAddress Address { get; set; }

        public QTypeEnum QType {
            get {
                return QTypeEnum.AAAA;
            }
        }

        public override string ToString()
		{
			return Address.ToString();
		}

	}
}
